<form onsubmit="return false;" data-auto="true" action="{:url('save')}" method="post" class='layui-form layui-card' autocomplete="off">

    <div class="layui-card-body padding-40">
        <div class="color-text margin-bottom-20 layui-code" style="border-left-width:1px;background:none">
            <p>当保洁员在自己绑定的地址做工，所有金额保洁员自己一个人获得，不产生其他提成</p>
            <p>代理商提成为订单金额除去所有提成之后的剩余金额</p>
            <p>总额百分之百，提成金额精确到小数点后两位，超出部分舍去，如5.055 实际提成为5.05</p>
            <p>提成按自己做工》自己销售》一级团队做工》一级团队销售》二级团队做工》二级团队销售》代理商顺序，分完即止。</p>
        </div>

        <label class="layui-form-item block relative">
            <span class="color-green margin-right-10">做工提成比例（自己做）</span><span class="nowrap color-desc">CleanerWorkRatio</span>
            <input onblur="this.value=Math.abs(parseFloat(this.value)||0.00).toFixed(2)" name="cleaner_work_ratio" required placeholder="请输入做工提成比例" value="{:sysconf('cleaner_work_ratio')}" class="layui-input">
            <p class="help-block">做工提成比例，不含百分号，如50%则填写0.5</p>
        </label>
        <label class="layui-form-item block relative">
            <span class="color-green margin-right-10">一级团队做工提成比例（直接邀请）</span><span class="nowrap color-desc">DirectInvitationWorkRatio</span>
            <input onblur="this.value=Math.abs(parseFloat(this.value)||0.00).toFixed(2)" name="direct_invitation_work_ratio" required placeholder="请输入一级团队做工提成比例" value="{:sysconf('direct_invitation_work_ratio')}" class="layui-input">
            <p class="help-block">一级团队做工提成比例，不含百分号，如50%则填写0.5</p>
        </label>
        <label class="layui-form-item block relative">
            <span class="color-green margin-right-10">二级团队做工提成比例（间接邀请）</span><span class="nowrap color-desc">IndirectInvitationWorkRatio</span>
            <input onblur="this.value=Math.abs(parseFloat(this.value)||0.00).toFixed(2)" name="indirect_invitation_work_ratio" required placeholder="请输入二级团队做工提成比例" value="{:sysconf('indirect_invitation_work_ratio')}" class="layui-input">
            <p class="help-block">二级团队做工提成比例，不含百分号，如50%则填写0.5</p>
        </label>

        <label class="layui-form-item block relative">
            <span class="color-green margin-right-10">销售提成比例（自己销售）</span><span class="nowrap color-desc">CleanerSaleRatio</span>
            <input onblur="this.value=Math.abs(parseFloat(this.value)||0.00).toFixed(2)" name="cleaner_sale_ratio" required placeholder="请输入销售提成比例" value="{:sysconf('cleaner_sale_ratio')}" class="layui-input">
            <p class="help-block">销售提成比例，不含百分号，如50%则填写0.5</p>
        </label>
        <label class="layui-form-item block relative">
            <span class="color-green margin-right-10">一级团队销售提成比例（直接邀请）</span><span class="nowrap color-desc">DirectInvitationSaleRatio</span>
            <input onblur="this.value=Math.abs(parseFloat(this.value)||0.00).toFixed(2)" name="direct_invitation_sale_ratio" required placeholder="请输入一级团队销售提成比例" value="{:sysconf('direct_invitation_sale_ratio')}" class="layui-input">
            <p class="help-block">一级团队销售提成比例，不含百分号，如50%则填写0.5</p>
        </label>

        <label class="layui-form-item block relative">
            <span class="color-green margin-right-10">二级团队销售提成比例（间接邀请）</span><span class="nowrap color-desc">IndirectInvitationSaleRatio</span>
            <input onblur="this.value=Math.abs(parseFloat(this.value)||0.00).toFixed(2)" name="indirect_invitation_sale_ratio" required placeholder="请输入二级团队销售提成比例" value="{:sysconf('indirect_invitation_sale_ratio')}" class="layui-input">
            <p class="help-block">二级团队销售提成比例，不含百分号，如50%则填写0.5</p>
        </label>

        <label class="layui-form-item block relative">
            <span class="color-green margin-right-10">代理商做工提成比例（团队里）</span><span class="nowrap color-desc">AgentServiceRatio</span>
            <input onblur="this.value=Math.abs(parseFloat(this.value)||0.00).toFixed(2)" name="agent_service_ratio" required placeholder="请输入代理商做工提成比例" value="{:sysconf('agent_service_ratio')}" class="layui-input">
            <p class="help-block">代理商做工提成比例，不含百分号，如50%则填写0.5</p>
        </label>
        <label class="layui-form-item block relative">
            <span class="color-green margin-right-10">代理商销售提成比例（团队里）</span><span class="nowrap color-desc">agent_sale_ratio</span>
            <input onblur="this.value=Math.abs(parseFloat(this.value)||0.00).toFixed(2)" name="agent_sale_ratio" required placeholder="请输入代理商销售提成比例" value="{:sysconf('agent_sale_ratio')}" class="layui-input">
            <p class="help-block">代理商销售提成比例，不含百分号，如50%则填写0.5</p>
        </label>

        <div class="layui-form-item text-center margin-top-20">
            <button class="layui-btn" type="submit">保存配置</button>
        </div>
    </div>
</form>